package io.renren.form;

import java.util.Date;

import javax.validation.constraints.NotBlank;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 选题提交
 * @author SongR
 *
 */
@ApiModel(value="选题提交信息",description="选题提交信息")
public class CCSRecordForm {

	
	/**
	 * 上报人
	 */
	@ApiModelProperty(value="上报人编号（获取app用户信息，传递用户编号）",name="cUser",notes="获取app用户信息，传递用户编号",required=true)
	@NotBlank(message="上报人编号不能为空")
	private Long cUser;
	
	/**
	 * 审核员
	 */
	@ApiModelProperty(value="审核员编号（调用用户获取用户列表接口，选择用户传递用户编号）",name="mUser",notes="调用用户获取用户列表接口，选择用户传递用户编号",required=true)
	@NotBlank(message="审核员编号不能为空")
	private Long mUser;
	/**
	 * 标题
	 */
	@ApiModelProperty(value="选题标题",name="title",notes="",required=true)
	@NotBlank(message="选题标题不能为空")
	private String title;
	
	/**
	 * 摘要
	 */
	@ApiModelProperty(value="摘要",name="abstracts",notes="")
	private String abstracts;
	
	/**
	 * 内容
	 */
	@ApiModelProperty(value="内容",name="content",notes="",required=true)
	@NotBlank(message="内容不能为空")
	private String content;
	
	/**
	 * 关键词
	 */
	@ApiModelProperty(value="关键词（多个用英文','分隔）",name="keys",notes="多个用英文','分隔")
	private String keys;
	
	/**
	 * 主要人物
	 */
	@ApiModelProperty(value="主要人物（多个用英文','分隔）",name="dominatingFigure",notes="多个用英文','分隔")
	private String dominatingFigure;
	
	/**
	 * 发生日期
	 */
	@ApiModelProperty(value="发生日期（日期格式:yyyy-MM-dd）",name="occurTime",notes="日期格式:yyyy-MM-dd",required=true)
	@NotBlank(message="发生日期不能为空")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
	private Date occurTime;
	
	/**
	 * 拟播栏目
	 */
	@ApiModelProperty(value="拟播栏目（调用获取栏目接口获取栏目列表，选择栏目传递栏目编号）",name="channelId",notes="调用获取栏目接口获取栏目列表，选择栏目传递栏目编号")
	private Long channelId;
	/**
	 * 拟播时间
	 */
	@ApiModelProperty(value="拟播时间（日期格式:yyyy-MM-dd HH:mm:ss）",name="playTime",notes="日期格式:yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date playTime;
	
	/**
	 * 重要程度
	 */
	@ApiModelProperty(value="重要程度（1、普通 2、重要）",name="importance",notes="1、普通 2、重要")
	private Integer importance;
	
	/**
	 * 是否采访
	 */
	@ApiModelProperty(value="是否采访（0、否1、是）",name="isInterview",notes="0、否1、是")
	private Integer isInterview; 
	
	/**
	 * 发生地点
	 */
	@ApiModelProperty(value="发生地点",name="address",notes="")
	private String address;

	
	/**
	 * 选题分类
	 */
	@ApiModelProperty(value="选题类型（调用类型接口获取类型列表，传入类型编号）",name="typeId",notes="调用类型接口获取类型列表，传入类型编号")
	private Long typeId;
	
	/**
	 * 预指派
	 */
	@ApiModelProperty(value="预指派（1、互联网2、文稿任务3、采访任务）",name="preAssignment",notes="1、互联网2、文稿任务3、采访任务")
	private Integer preAssignment;
	
	/**
	 * 指派人
	 */
	@ApiModelProperty(value="指派人（多个用英文','分隔）",name="assignor",notes="多个用英文','分隔")
	private String assignor;
	
	/**
	 * 外链
	 */
	@ApiModelProperty(value="外链",name="link",notes="输入外链url地址")
	private String link;

	/**
	 * 是否公开
	 */
	@ApiModelProperty(value="是否公开（0、不公开1、公开）",name="open",notes="0、不公开1、公开")
	private int open;
	
	public Long getcUser() {
		return cUser;
	}

	public void setcUser(Long cUser) {
		this.cUser = cUser;
	}

	public int getOpen() {
		return open;
	}

	public void setOpen(int open) {
		this.open = open;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getTitle() {
		return title;
	}

	public Long getmUser() {
		return mUser;
	}

	public void setmUser(Long mUser) {
		this.mUser = mUser;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAbstracts() {
		return abstracts;
	}

	public void setAbstracts(String abstracts) {
		this.abstracts = abstracts;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getKeys() {
		return keys;
	}

	public void setKeys(String keys) {
		this.keys = keys;
	}

	public String getDominatingFigure() {
		return dominatingFigure;
	}

	public void setDominatingFigure(String dominatingFigure) {
		this.dominatingFigure = dominatingFigure;
	}

	public Date getOccurTime() {
		return occurTime;
	}

	public void setOccurTime(Date occurTime) {
		this.occurTime = occurTime;
	}


	public Date getPlayTime() {
		return playTime;
	}

	public void setPlayTime(Date playTime) {
		this.playTime = playTime;
	}

	public Integer getImportance() {
		return importance;
	}

	public void setImportance(Integer importance) {
		this.importance = importance;
	}

	public Integer getIsInterview() {
		return isInterview;
	}

	public void setIsInterview(Integer isInterview) {
		this.isInterview = isInterview;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}


	public Integer getPreAssignment() {
		return preAssignment;
	}

	public void setPreAssignment(Integer preAssignment) {
		this.preAssignment = preAssignment;
	}

	public String getAssignor() {
		return assignor;
	}

	public void setAssignor(String assignor) {
		this.assignor = assignor;
	}

	public Long getChannelId() {
		return channelId;
	}

	public void setChannelId(Long channelId) {
		this.channelId = channelId;
	}

	public Long getTypeId() {
		return typeId;
	}

	public void setTypeId(Long typeId) {
		this.typeId = typeId;
	}
	
	
}

